<extend name="Public/base" />
<block name="body">
    <div class="main-title" style="padding-bottom: 10px;">
        <h2>每日盘点</h2>
    </div>
    <div class="data-table table-striped">
        <table>
            <thead>
            <tr>
                <th>果饮店</th>
                <th>商品名称</th>
                <th>账面数量</th>
                <th>实际数量</th>
                <th>报损</th>
                <th>盘盈</th>
                <th>正常使用</th>
                <th>差异值</th>
                <th>备注</th>
                <th>盘点时间</th>
            </tr>
            </thead>
            <tbody>
            <notempty name="_list">
                <volist name="_list" id="vo">
                    <tr>
                        <td>{$vo.shopId|get_sp_shop_name} </td>
                        <td>{$vo.name} </td>
                        <td>{$vo.theoryStock} </td>
                        <td>{$vo.realStock} </td>
                        <td>{$vo.minus} </td>
                        <td>{$vo.plus} </td>
                        <td>{$vo.used} </td>
                        <td>{$vo.diffeValue} </td>
                        <td>{$vo.remark} </td>
                        <td>{$vo.checkat|time_format} </td>
                    </tr>
                </volist>
                <else/>
                <td colspan="10" class="text-center"> aOh! 暂时还没有内容! </td>
            </notempty>
            </tbody>
        </table>
    </div>
</block>

<block name="script">
    <script src="__STATIC__/thinkbox/jquery.thinkbox.js"></script>

    <script type="text/javascript">
        $('#ExportSubmit').click(function () {
            document.getElementById("form-export").submit();
        });
        //导航高亮
        highlight_subnav('{:U('SpReport/checkstockdaliy')}');
    </script>
</block>